package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the TALLYDETAILS_TABLE database table.
 * 
 */
@Entity
@Table(name="TALLYDETAILS_TABLE")
@NamedQuery(name="TallydetailsTable.findAll", query="SELECT t FROM TallydetailsTable t")
public class TallydetailsTable implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String tallydetailsid;

	private String admin4;

	private String chargecodeid;

	private String chargename;

	private String feetype;

	@Column(name="\"number\"")
	private BigDecimal number;

	private BigDecimal price3;

	@Column(name="\"SUM\"")
	private BigDecimal sum;

	private String tallydetailsstatus;

	private String unit3;

	//bi-directional many-to-one association to TallyTable
	@ManyToOne
	@JoinColumn(name="TALLYID")
	private TallyTable tallyTable;

	public TallydetailsTable() {
	}

	public String getTallydetailsid() {
		return this.tallydetailsid;
	}

	public void setTallydetailsid(String tallydetailsid) {
		this.tallydetailsid = tallydetailsid;
	}

	public String getAdmin4() {
		return this.admin4;
	}

	public void setAdmin4(String admin4) {
		this.admin4 = admin4;
	}

	public String getChargecodeid() {
		return this.chargecodeid;
	}

	public void setChargecodeid(String chargecodeid) {
		this.chargecodeid = chargecodeid;
	}

	public String getChargename() {
		return this.chargename;
	}

	public void setChargename(String chargename) {
		this.chargename = chargename;
	}

	public String getFeetype() {
		return this.feetype;
	}

	public void setFeetype(String feetype) {
		this.feetype = feetype;
	}

	public BigDecimal getNumber() {
		return this.number;
	}

	public void setNumber(BigDecimal number) {
		this.number = number;
	}

	public BigDecimal getPrice3() {
		return this.price3;
	}

	public void setPrice3(BigDecimal price3) {
		this.price3 = price3;
	}

	public BigDecimal getSum() {
		return this.sum;
	}

	public void setSum(BigDecimal sum) {
		this.sum = sum;
	}

	public String getTallydetailsstatus() {
		return this.tallydetailsstatus;
	}

	public void setTallydetailsstatus(String tallydetailsstatus) {
		this.tallydetailsstatus = tallydetailsstatus;
	}

	public String getUnit3() {
		return this.unit3;
	}

	public void setUnit3(String unit3) {
		this.unit3 = unit3;
	}

	public TallyTable getTallyTable() {
		return this.tallyTable;
	}

	public void setTallyTable(TallyTable tallyTable) {
		this.tallyTable = tallyTable;
	}

}